<?php 

class errorComponent extends sfComponent{
	public function execute($request){
		$data = $request->getParameter('errors', array());
		$this->setVar('data', $data);
	}
}